package com.geovis.boot.common.util;

/**
 * Created by subin on 2019/10/29.
 */
public class StringConvertUtils {


    /**
     * 将驼峰字符串改为下划线
     */
    public static String  convertCamel2Underline(String str) {
        String  res = String.join("_", str.replaceAll("([A-Z])", ",$1").split(",")).toLowerCase();
        return res;
    }



}
